package DesignPatern.A23_桥梁模式.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/8/12 16:36
 */
public class A01_Main
{
    public static void main(String[] args)
    {
        House house = new House();
        System.out.println("--正规公司--");
        
        HouseCrop houseCrop = new HouseCrop(house);
        houseCrop.makeMoney();
        
        System.out.println("--山寨公司--");
        IPodCrop iPodCrop = new IPodCrop(new IPod());
        iPodCrop.makeMoney();
    }
}
